from multiprocessing import Process, Pipe

def f(conn):
    conn.send([44,'aa'])
    conn.send([1111111111,'aa'])
    print(conn.recv())
    conn.close()

if __name__ == '__main__':
    parent_conn, child_conn = Pipe()
    p = Process(target=f, args=(child_conn,))
    p.start()
    print(parent_conn.recv())
    print(parent_conn.recv())
    parent_conn.send([2222222222222, 111111111])
    p.join()